package com.qfedu.meidijiaju.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author meidimeiju
 * @since 2022-10-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserYxy implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户id")
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "用户性别")
    private String sex;

    @ApiModelProperty(value = "用户个性标签")
    private String gexingbiaoqian;

    @ApiModelProperty(value = "用户头像")
    private String touxiang;

    @TableField(exist = false)  // 该属性不是数据表中的字段
    private List<FaxiantieziYxy> faxiantieziYxyList;

    @TableField(exist = false)  // 该属性不是数据表中的字段
    private List<UserYxy> userYxies;

    @TableField(exist = false)
    private List<ShipuYxy> shipuYxyList;


}
